﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.WarehouseManagement.ProductionPickings
{
    /// <summary>
    /// 生产领料详情表
    /// </summary>
    public class ProductionPickingDetail : Entity<int>
    {
        /// <summary>
        /// 生产领料编号
        /// </summary>
        public int Bld { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        [StringLength(50)]
        public string? Code { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        [StringLength(50)]
        public string? Name { get; set; }
        /// <summary>
        /// 领料数量
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        [StringLength(50)]
        public string? Mondels { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        [StringLength(50)]
        public string? UnitId { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        [StringLength(50)]
        public string? LotNumber { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        [StringLength(50)]
        public string? Warehouse { get; set; }
        /// <summary>
        /// 库区
        /// </summary>
        [StringLength(50)]
        public string? ReservoirArea { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        [StringLength(50)]
        public string? BinLocation { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string? Remark { get; set; }
    }
}
